﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="LoreTypeEdit.aspx.cs" Inherits="main_admin_LoreTypeEdit" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>知识库分类管理</title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/base.css" rel="stylesheet" type="text/css" />

    <script src="../../js/base.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/singleeditpoint.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/validator.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/comm.js" type="text/javascript" charset="utf-8"></script>
    
    <script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
       <script type="text/javascript" src="../../Web_ckeditor_html/ckeditor.js"></script>
    <script type="text/javascript" src="../../Web_ckfinder_html/ckfinder.js"></script>

    <script type="text/javascript">	
        
            function tomodifySave(){
                //清除空格	
                TrimAllitems();       
                ClearErrMsg();        
			    var thisForm=document.forms[0];
			    if (Validator.Validate(thisForm, 3)) {
			        return true;
			    }			    
				return false;
			}
			 
			
    </script> 
    
</head>
<body>
<form name="form1" method="post" id="form1" runat="server">
    <asp:ScriptManager ID="smJs" runat="server">
        <Services>
            <asp:ServiceReference Path="../../SearCodintion.asmx" />
        </Services>
    </asp:ScriptManager>
<div class="conter_right">
<div class="sfkr"><span>当前位置：</span>知识库分类管理</div>
     <fieldset class="dsadq"><legend style="color:#434449"><span id="page_title" runat="server">知识库分类新增</span></legend>
     
     <table width="100%" border="0" cellpadding="0" cellspacing="0" class="msels">
     <tr>     
      <td width="16%" align="right" valign="middle"><asp:Label ID="Label1" runat="server" Text="上级分类名称"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" > <asp:Label ID="lblUpLoreType" runat="server" Text=""/>
        <div runat="server" id="loreTypeV">
              <asp:DropDownList ID="ddlLoreType1" runat="server">
                    </asp:DropDownList>
                    &nbsp;
                    <ajaxtoolkit:cascadingdropdown id="cddLoreType1" runat="server" servicepath="../../SearCodintion.asmx"
                        servicemethod="GetLoreType1" category="LoreType1" targetcontrolid="ddlLoreType1"
                        prompttext=" " loadingtext=" ">
                    </ajaxtoolkit:cascadingdropdown>
                    <asp:DropDownList ID="ddlLoreType2" runat="server">
                    </asp:DropDownList>
                    <ajaxtoolkit:cascadingdropdown id="cddLoreType2" runat="server" targetcontrolid="ddlLoreType2"
                        servicepath="../../SearCodintion.asmx" servicemethod="GetLoreType2" category="LoreType2"
                        prompttext=" " loadingtext=" " parentcontrolid="ddlLoreType1">
                     </ajaxtoolkit:cascadingdropdown>
                      <asp:DropDownList ID="ddlLoreType3" runat="server">
                    </asp:DropDownList>
                    <ajaxtoolkit:cascadingdropdown id="cddLoreType3" runat="server" targetcontrolid="ddlLoreType3"
                        servicepath="../../SearCodintion.asmx" servicemethod="GetLoreType3" category="LoreType3"
                        prompttext=" " loadingtext=" " parentcontrolid="ddlLoreType2"></ajaxtoolkit:cascadingdropdown>
                     
                     </div>           
           </td>    </tr>
                        
         <tr>     
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_TYPE_NAME" runat="server" Text="分类名称"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" >
           <asp:TextBox MaxLength="50" CssClass="srjks" ID="txt_TYPE_NAME" runat="server"  dataType="Require" msg="名称不能为空！" ></asp:TextBox>
                                        <asp:Label ID="err_TYPE_NAME" runat="server"></asp:Label></td>
     
     </tr>
     
     </table>
     </fieldset>
     </div>
      <div style="height:15px"></div>
        <div class="nstkaah" align="center" style="width:90%">
        <asp:Button runat="server" Text="保存" CssClass="seaal" ID="queding" ToolTip="保存" 
                                         OnClientClick="return  tomodifySave();"   OnClick="queding_Click" />
                                         <asp:Button runat="server" Text="返回" CssClass="seaal" ID="Button3" ToolTip="返回" OnClick="cmdCancel_Click" />
              </div>
              
	<!--jjjjjjjjjjjjjjjjjjjj页脚部分jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj-->
	<div id="footer"></div>
   </form>
</body>
</html>
